#include "tipsdialog.h"
#include "ui_tipsdialog.h"

#include <qmessagebox.h>

TipsDialog::TipsDialog(QWidget *parent) :
    QDialog(parent),
    ui(new Ui::TipsDialog)
{
    ui->setupUi(this);
    setWindowTitle("提示");
}

TipsDialog::~TipsDialog()
{
    delete ui;
}

void TipsDialog::setTitle(QString title)
{
    setWindowTitle(title);
}

void TipsDialog::setContent(QString content)
{
    ui->lb_tips->setText(content);
}
